package com.r2coding.server.common.event.file;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

import java.io.Serializable;
import java.util.Set;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 文件删除事件
 * @Create on : 2023/10/12 13:33
 **/
@Getter
@Setter
@ToString
public class DeleteFileEvent extends ApplicationEvent implements Serializable {

    private static final long serialVersionUID = -281617464244749321L;

    private Set<Long> fileIdList;

    public DeleteFileEvent(Object source, Set<Long> fileIdList) {
        super(source);
        this.fileIdList = fileIdList;
    }
}
